package com.yohann.designPattern.facade;

/**
 * @author Yohann
 */
public class Popcorn {
    private static Popcorn ourInstance = new Popcorn();

    public static Popcorn getInstance() {
        return ourInstance;
    }

    private Popcorn() {
    }

    public void on() {
        System.out.println("Popcorn ON");
    }

    public void off() {
        System.out.println("Popcorn OFF");
    }

    public void pop() {
        System.out.println("Popcorn IS POPING");
    }
}
